clc;

logaritm(8101, 6, 7531)
logaritm(29, 2, 18)
logaritm(11, 4, 9)